<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>精研 3.0 - FooTable</title>
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">

    <link rel="shortcut icon" href="favicon.ico"> <link href="/css/bootstrap.min.css?v=3.3.5" rel="stylesheet">
    <link href="/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">

    <link href="/css/animate.min.css" rel="stylesheet">
    <link href="/css/style.min.css?v=4.0.0" rel="stylesheet"><base target="_blank">
    <!-- Sweet Alert -->
    <link href="/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <!-- 弹窗-->
    <script src="../../tanchuan/js/jquery-2.0.0.min.js"></script>
    <link href="../../tanchuan/css/displaystyle.css" rel="stylesheet" />
    <script src="../../tanchuan/js/syntaxhighlighter_3.0.83/shCore.js"></script>
    <script src="../../tanchuan/js/syntaxhighlighter_3.0.83/shBrushJScript.js"></script>
    <link href="../../tanchuan/js/syntaxhighlighter_3.0.83/styles/shCoreRDark.css" rel="stylesheet" />
    <script src="../../tanchuan/js/NZ-Plugin/Js/NZ-Window.min.js"></script>
    <link href="../../tanchuan/js/NZ-Plugin/Css/NZ-Window.min.css" rel="stylesheet" />
    <script src="../../tanchuan/js/NZ-Plugin/Js/NZ-Drag.min.js"></script>
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">

    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h1 style="font-family:arial;color: red">
                        梦想在上杯（第三十三期）实盘比赛  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <a style="font-size:20px;color:coral;" onclick="showTag('/zy')">>>>报单(15:00~16:00)</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <a style="font-size:20px;color:coral;" onclick="showTag('/zy/downLoad')">下载报表</a>
                    </h1>
                    <div class="ibox-tools">

                    </div>
                </div>
                <br class="ibox-content">

                <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="100">
                    <thead>
                    <tr style="font-family:arial;font-size:18px;">
                        <th >日期</th>
                        <th >选手</th>
                        <th >初始资产</th>
                        <th >动态资产(含出入金)</th>
                        <th >总出入金</th>
                        <th >最新资产</th>
                        <th >总收益率</th>
                        <th >今日收益率</th>
                        <th >昨日收益率</th>
                        <th >积分</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr class="gradeX" th:each="tag,resultStat:${zuoYeRanks}" >
                        <td th:text="${tag.date}"  style="font-family:arial;font-size:20px;"></td>
                        <td th:text="${tag.userName}"  style="font-family:arial;font-size:20px;"></td>
                        <td th:text="${#numbers.formatInteger(tag.orgAsset, 2, 'COMMA')}"  style="font-family:arial;font-size:20px;color: red"></td>
                        <td th:text="${#numbers.formatInteger(tag.initialAsset, 2, 'COMMA')}"  style="font-family:arial;font-size:20px;color: red"></td>
                        <td th:text="${#numbers.formatInteger(tag.outInMoney, 2, 'COMMA')}"  style="font-family:arial;font-size:20px;color: red"></td>
                        <td th:text="${#numbers.formatInteger(tag.todayAsset, 2, 'COMMA')}"  style="font-family:arial;font-size:20px; color: red"></td>
                        <!-- totalYield -->
                        <td th:if="${tag.totalYield!=null?tag.totalYield:0} ge 0" th:text="${#numbers.formatPercent(tag.totalYield,1, 2)}"  style="font-family:arial;font-size:20px; color: red"></td>
                        <td th:if="${tag.totalYield!=null?tag.totalYield:0} lt 0" th:text="${#numbers.formatPercent(tag.totalYield, 1, 2)}"  style="font-family:arial;font-size:20px; color: green"></td>

                        <!-- todayYield -->
                        <td th:if="${tag.todayYield!=null?tag.todayYield:0} ge 0" th:text="${#numbers.formatPercent(tag.todayYield, 1, 2)}"  style="font-family:arial;font-size:20px; color: red"></td>
                        <td th:if="${tag.todayYield!=null?tag.todayYield:0} lt 0" th:text="${#numbers.formatPercent(tag.todayYield, 1, 2)}"  style="font-family:arial;font-size:20px; color: green"></td>

                        <!-- yesterdayYield -->
                        <td th:if="${tag.yesterdayYield!=null?tag.yesterdayYield:0} ge 0" th:text="${#numbers.formatPercent(tag.yesterdayYield, 1, 2)}"  style="font-family:arial;font-size:20px; color: red"></td>
                        <td th:if="${tag.yesterdayYield!=null?tag.yesterdayYield:0} lt 0" th:text="${#numbers.formatPercent(tag.yesterdayYield, 1, 2)}"  style="font-family:arial;font-size:20px; color: green"></td>

                        <td th:text="${tag.integral}"  style="font-family:arial;font-size:20px;"></td>
                        <td>
                            <a  th:id="${tag.id}"  onclick="modifyUserInfo(this)" > <i class="badge badge-warning">改</i> </a>
                        </td>
                    </tr>
                    </tbody>
                    <tfoot>
                    <tr>
                        <td colspan="5">
                            <ul class="pagination pull-right"></ul>
                        </td>
                    </tr>
                    </tfoot>
                </table>

            </div>
        </div>
    </div>
</div>
</div>
<!--    <script src="/js/jquery.min.js?v=2.1.4"></script>-->
<!--    <script src="/js/bootstrap.min.js?v=3.3.5"></script>-->
<script src="/js/plugins/footable/footable.all.min.js"></script>
<!--    <script src="/js/content.min.js?v=1.0.0"></script>-->

<!--    <script src="/js/jquery.min.js?v=2.1.4"></script>-->
<script src="/js/bootstrap.min.js?v=3.3.5"></script>
<script src="/js/plugins/sparkline/jquery.sparkline.min.js"></script>
<script src="/js/plugins/peity/jquery.peity.min.js"></script>
<script src="/js/content.min.js?v=1.0.0"></script>
<script src="/js/demo/peity-demo.min.js"></script>
<script src="/js/plugins/gritter/jquery.gritter.min.js"></script>
<script src="/js/plugins/sweetalert/sweetalert.min.js"></script>
<script>
    $(document).ready(function(){$(".footable").footable();$(".footable2").footable()});
</script>

<script>


    function modifyUserInfo(object){
        var id=object.id;
        $.NZ_Window.show({
            url: "/zy/queryUserById?id="+id,
            width: 1500,
            height: 1000,
            operate: {
                btn_Close: true, //关闭按钮
                btn_Max: true, //最大化按钮
                btn_Refresh: true, //刷新按钮
                btn_NewWindow: true, //新窗口按钮
                resize: true //调整窗口大小按钮
            }
        });
    }
</script>
</body>

</html>